<?php
include 'admin/m/type/c_category.php';


?>
<section id='sidebar'>
	<div>
		<?php
		
		foreach ($categories as $x)
		{
			echo "<li><a href='products.php?q=product/".$x['id']."/category/".$x['name']."'>".$x['name']."</a></li>";
		}
		?>
		
		<li><a href='checkout.php?q=cart/checkout'>Checkout</a></li>
		<li><a href='cart.php?q=cart/view'>View Cart</a></li>
		<li><a href='cart.php?q=product/1/clear/cart/checkout'>Clear</a></li>
		<li><a href='user.php?q=user/signup'>Signup</a></li>
		<li><a href='user.php?q=user/login'>Login</a></li>
		<li><a href='user.php?q=user/profile'>Profile</a></li>
	</div>

</section>

